import {createRouter,createWebHashHistory } from 'vue-router'
 
const routes = [
    {
        path:'/',
        component:() => import('../views/index.vue')
    }
    ,{
        path:'/list',
        component:() => import('../views/list.vue')
    }
]
 
const router = createRouter({
    history:createWebHashHistory(),
    routes  //路由信息
})
export default router